package com.rupeng.service;

import com.rupeng.annotation.RupengCacheable;
import com.rupeng.annotation.RupengUseCache;
import org.springframework.stereotype.Service;

import com.rupeng.pojo.Setting;

@Service
@RupengCacheable
public class SettingService extends BaseService<Setting> {
	@RupengUseCache
	public Setting selectOneByName(String name) {
		Setting setting = new Setting();
        setting.setName(name);
        return selectOne(setting);
	}

}